<?php
get_header();

// Check if articles category.
$cat_name = get_query_var('category_name');
switch ($cat_name) {
	case "articles":
	case "albums":
	case "gear-reviews":
	case "general":
	case "guest-columns":
	case "interviews":		
		wts_header_articles($cat_name);
		break;
	case "gallery":
	case "events-gallery":
	case "interviews-gallery":		
		wts_header_gallery($cat_name);
		break;
}

if (have_posts()) :
	?>
	<div class="content_box_big">
		<?php posts_nav_link(); ?>
	</div>
	<br style="clear: left;" />
	<?php
	include(TEMPLATEPATH . '/articles-loop.php');
else:
	include(TEMPLATEPATH . '/404.php');
endif;
get_footer();
